package com.shoppingmall.service;

import com.shoppingmall.model.OrderDesc;
import com.shoppingmall.model.Orders;
import com.shoppingmall.model.view.OrderDescView;

import java.util.List;

public interface OrderService {
    void addOrder(Orders orders, List<OrderDesc> orderDescList);

    List<Orders> getOrders(int user_id);

    List<OrderDescView> getOrderDesc(String order_id);

    List<Orders> getOrderById(String order_to);
}
